package com.baosight.qualitycontrol.entity;

import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

@Data
@TableName("AP_INDICATOR")
public class IndicatorEntity {
	 /**
     * 序号
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 指标代码
     */
    @TableField("INDICATOR_CODE")
    private String indicatorCode;
    
    /**
     * 指标名称
     */
    @TableField("INDICATOR_NAME")
    private String indicatorName;
    
    /**
     * 指标类型
     */
    @TableField("INDICATOR_TYPE")
    private String indicatorType;

    @TableField("STATUS")
    private int status;

    @TableField("REMARK")
    private String remark;
    
    @TableField(exist = false)
    private List<IndicatorParamEntity> indicatorParams;
    
    /**
     * 创建时间
     */
      @TableField(value = "TOC", fill = FieldFill.INSERT)
    private Date toc;

    /**
     * 修改时间
     */
      @TableField(value = "TOM", fill = FieldFill.INSERT_UPDATE)
    private Date tom;
}
